'use client'

import * as React from 'react'
import Navbar from '@/components/navbar'
import Sidebar from '@/components/sidebar'

interface DashboardLayoutProps {
  children: React.ReactNode
}

const DashboardLayout: React.FC<DashboardLayoutProps> = ({ children }) => (
  <div className="min-h-screen bg-background">
    <Navbar />
    <div className="flex">
      <Sidebar />
      <main className="flex-1 p-6">{children}</main>
    </div>
  </div>
)

export default DashboardLayout